#include<bits/stdc++.h>
using namespace std;
const int N=1e5+100;
int n,num,x;
int r[N];
bool flag=0;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    scanf("%d",&n);
    for(int i=1;i<=n;i++){
        scanf("%d",&x);
        r[x]++;
    }
    for(int i=2;i<=1e5+10;i++){
        if(r[i]!=0){
            if(!flag){
                num=r[i];
                flag=1;
            }
            else{
                if(r[i]>=num)
                    num=r[i];
                else
                    continue;
            }    
        }
    }
    printf("%d\n",num);
    return 0;
} 